package com.github.arrow.test;

/**
 * @author ste7en.liu@gmail.com
 * @since 2016/7/17
 */
public class People {
    private int index;
    private char gender;
    private int age;
    private double salary;
    private int rank;

    public People(int index, char gender,
                  int age, double salary,
                  int rank) {
        this.index = index;
        this.gender = gender;
        this.age = age;
        this.salary = salary;
        this.rank = rank;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    @Override
    public String toString() {
        return "People{" +
                "index=" + index +
                ", gender=" + gender +
                ", age=" + age +
                ", salary=" + salary +
                ", rank=" + rank +
                '}';
    }
}
